package com.wsd.jing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wsd.jing.entity.BusinessLog;
import com.wsd.jing.request.CommonRequest;

import java.util.List;
import java.util.Map;

/**
 * All rights Reserved, Designed By www.tom.com
 *
 * @author tom
 * @version 1.0.0
 * @projectName: jing
 * @packageName: com.wsd.jing.service
 * @className: IBusinessLogService
 * @description: 业务日志服务类
 * @createDate 2022-11-20 07:41
 * @copyright 2022-11-20 07:41 www.tom.com Inc. All rights reserved.
 */
public interface IBusinessLogService extends IService<BusinessLog> {

    /**
     * @param businessLog:业务日志
     * @return Boolean
     * @author tom
     * @description 新增业务日志
     * @createDate 2022-11-20 07:41
     */
    Boolean insertBusinessLog(BusinessLog businessLog);

    /**
     * @param businessLog:业务日志
     * @return Boolean
     * @author tom
     * @description 修改业务日志
     * @createDate 2022-11-20 07:41
     */
    Boolean updateBusinessLog(BusinessLog businessLog);

    /**
     * @param id:id
     * @return Boolean
     * @author tom
     * @description 删除业务日志
     * @createDate 2022-11-20 07:41
     */
    Boolean deleteBusinessLog(Integer id);

    /**
     * @param ids:id
     * @return Boolean
     * @author tom
     * @description 批量删除业务日志
     * @createDate 2022-11-20 07:41
     */
    Boolean deleteBusinessLogs(String ids);

    /**
     * @param id:id
     * @return BusinessLog
     * @author tom
     * @description 查询业务日志
     * @createDate 2022-11-20 07:41
     */
    BusinessLog getBusinessLog(Integer id);

    /**
     * @param commonRequest:排序参数
     * @param businessLog:业务日志
     * @return List<BusinessLog>
     * @author tom
     * @description 查询业务日志列表
     * @createDate 2022-11-20 07:41
     */
    List<BusinessLog> listBusinessLogs(CommonRequest commonRequest, BusinessLog businessLog);

    /**
     * @param commonRequest:分页参数
     * @param businessLog:业务日志
     * @return Map<String, Object>
     * @author tom
     * @description 分页查询业务日志列表
     * @createDate 2022-11-20 07:41
     */
    Map<String, Object> listPageBusinessLogs(CommonRequest commonRequest, BusinessLog businessLog);
}
